/**
 * Copied from https://github.com/woocommerce/woocommerce/blob/46b813723d05e276f351a7d304b755587d585d56/plugins/woocommerce-admin/client/analytics/components/report-table/style.scss
 * Modified to use a subset of `@woocommerce/internal-style-build` imports.
 */
/* stylelint-disable */
// Import Gutenberg variables
@import '../../../../internal-style-build/abstracts/_breakpoints.scss';
@import '../../../../internal-style-build/abstracts/_variables.scss';

.automatewoo-clone.woocommerce-report-table__scroll-point {
	position: relative;
	top: -#{$adminbar-height + $gap};

	@include breakpoint( '<782px' ) {
		top: -#{$adminbar-height-mobile + $gap};
	}

	.woocommerce-feature-enabled-activity-panels & {
		top: -#{$adminbar-height + $header-height + $gap};

		@include breakpoint( '<782px' ) {
			top: -#{$adminbar-height-mobile + $header-height + $gap};
		}
	}
}

.automatewoo-clone.woocommerce-report-table {
	.woocommerce-search {
		flex-grow: 1;
	}

	.components-card__header {
		display: grid;
		grid-gap: $gap-small;
		grid-template-columns: min-content 1fr min-content;
	}

	.woocommerce-table__compare.components-button {
		padding: 8px;
	}

	.woocommerce-ellipsis-menu {
		justify-self: flex-end;
	}
}

.automatewoo-clone button.woocommerce-table__download-button {
	padding: 6px $gap-small;
	color: $studio-black;
	text-decoration: none;
	align-items: center;

	svg {
		margin-right: $gap-smaller;
		height: 24px;
		width: 24px;
	}

	@include breakpoint( '<782px' ) {
		svg {
			margin-right: 0;
		}

		.woocommerce-table__download-button__label {
			display: none;
		}
	}
}

/* stylelint-enable */
